package com.taoym.voucher.admin.entity.dto;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @coder taoym
 * @datetime 2021/7/7 17:46
 * @desc 系统用户登录参数
 */
@Data
public class SysUserLoginDTO implements Serializable {
    @ApiParam(value = "用户名")
    @NotBlank(message = "用户名")
    private String username;
    @ApiParam(value = "密码")
    @NotBlank(message = "密码")
    private String password;
}
